package com.xthh._struct;


import com.xthh._enum.HH_EnumDeviceColorType;
import com.xthh._enum.HH_EnumTaskType;

public class HH_T_TaskInfo {
    private String picPath_A;
    private String picPath_B;


    private String otaPath;
    private String macRes;
    private int picW;
    private int picH;
    private int taskRunState; //0未执行，1执行成功，2正在执行刷图任务, 3执行失败 4强制退出
    private HH_T_SYSTEMTIME madeTime;// 任务生成时间
    private int index;
    private String taskID;// 方便查询任务，任务的日志放在这里
    private String taskLogPath; // 任务信息保存路径
    private int sendDataIntervalTime; // 发送数据间隔时间 50-300
    private int sendFailReConnectCount;// 刷图失败重发次数3-20
    private HH_EnumTaskType taskType;// 0pic,1ota,2文本消息(胸牌文本)
    private String taskLastLog;
    private HH_EnumDeviceColorType deviceColorType;
    private HH_T_MsgTask msgTask;
    private HH_T_LightControlStateTask ledTask;
    private HH_T_PrismControlStateTask prismTask;
    private int picStorageCapacitySetTask;
    private String name;
    private int deviceType; //1bt,2wifi
    private byte []brushParams;
    private HH_T_PicStorage picStorage;
    private int taskIndex;
    private int[] delIndex;

    public int[] getDelIndex() {
        return delIndex;
    }

    public void setDelIndex(int[] delIndex) {
        this.delIndex = delIndex;
    }

    public int getTaskIndex() {
        return taskIndex;
    }

    public void setTaskIndex(int taskIndex) {
        this.taskIndex = taskIndex;
    }

    public byte[] getBrushParams() {
        return brushParams;
    }

    public void setBrushParams(byte[] brushParams) {
        this.brushParams = brushParams;
    }

    public int getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(int deviceType) {
        this.deviceType = deviceType;
    }

    public HH_T_LightControlStateTask getLedTask() {
        return ledTask;
    }

    public void setLedTask(HH_T_LightControlStateTask ledTask) {
        this.ledTask = ledTask;
    }

    public int getProType() {
        return proType;
    }

    public void setProType(int proType) {
        this.proType = proType;
    }

    public int proType;//  2表示第2套协议，3表示第3套协议，3协议去掉了获取Bitmap，改为在连接时自动返回
    public int deviceNumber;
    private int screenSelectParam; // 1A,2B,3AB

    public HH_T_PicStorage getPicStorage() {
        return picStorage;
    }

    public void setPicStorage(HH_T_PicStorage picStorage) {
        this.picStorage = picStorage;
    }

    public HH_T_TaskInfo() {
    }


    public HH_T_TaskInfo(String picPath,
                         String macRes,
                         int picW, int picH,
                         int taskRunState,
                         HH_T_SYSTEMTIME madeTime,
                         int index,
                         String taskID,
                         String taskLogPath,
                         int sendDataIntervalTime, int sendFailReConnectCount,
                         HH_EnumTaskType taskType,
                         String taskLastLog,
                         HH_EnumDeviceColorType deviceColorType,
                         String name,
                         int proType,
                         int deviceNumber) {
        this.picPath_A = picPath;
        this.macRes = macRes;
        this.picW = picW;
        this.picH = picH;
        this.taskRunState = taskRunState;
        this.madeTime = madeTime;
        this.index = index;
        this.taskID = taskID;
        this.taskLogPath = taskLogPath;
        this.sendDataIntervalTime = sendDataIntervalTime;
        this.sendFailReConnectCount = sendFailReConnectCount;
        this.taskType = taskType;
        this.taskLastLog = taskLastLog;
        this.deviceColorType = deviceColorType;
        this.name = name;
        this.proType = proType;
        this.deviceNumber = deviceNumber;
    }

    public HH_T_TaskInfo(String picPath, String otaPath, String macRes, int picW, int picH,
                         int taskRunState, HH_T_SYSTEMTIME madeTime, int index, String taskID,
                         String taskLogPath, int sendDataIntervalTime, int sendFailReConnectCount,
                         HH_EnumTaskType taskType, String taskLastLog,
                         HH_EnumDeviceColorType deviceColorType,
                         HH_T_MsgTask msgTask, HH_T_LightControlStateTask ledTask, String name,
                         int proType, int deviceNumber) {
        this.picPath_A = picPath;
        this.otaPath = otaPath;
        this.macRes = macRes;
        this.picW = picW;
        this.picH = picH;
        this.taskRunState = taskRunState;
        this.madeTime = madeTime;
        this.index = index;
        this.taskID = taskID;
        this.taskLogPath = taskLogPath;
        this.sendDataIntervalTime = sendDataIntervalTime;
        this.sendFailReConnectCount = sendFailReConnectCount;
        this.taskType = taskType;
        this.taskLastLog = taskLastLog;
        this.deviceColorType = deviceColorType;
        this.msgTask = msgTask;
        this.ledTask = ledTask;
        this.name = name;
        this.proType = proType;
        this.deviceNumber = deviceNumber;
    }

    public int getDeviceNumber() {
        return deviceNumber;
    }

    public void setDeviceNumber(int deviceNumber) {
        this.deviceNumber = deviceNumber;
    }

    public int getScreenSelectParam() {
        return screenSelectParam;
    }

    public void setScreenSelectParam(int screenSelectParam) {
        this.screenSelectParam = screenSelectParam;
    }

    public int getPicStorageCapacitySetTask() {
        return picStorageCapacitySetTask;
    }

    public void setPicStorageCapacitySetTask(int picStorageCapacitySetTask) {
        this.picStorageCapacitySetTask = picStorageCapacitySetTask;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTaskLastLog() {
        return taskLastLog;
    }

    public void setTaskLastLog(String taskLastLog) {
        this.taskLastLog = taskLastLog;
    }

    public HH_EnumDeviceColorType getDeviceColorType() {
        return deviceColorType;
    }

    public void setDeviceColorType(HH_EnumDeviceColorType deviceColorType) {
        this.deviceColorType = deviceColorType;
    }

    public HH_T_LightControlStateTask getLEDTask() {
        return ledTask;
    }

    public void setLEDTask(HH_T_LightControlStateTask ledTask) {
        this.ledTask = ledTask;
    }

    public HH_T_MsgTask getMsgTask() {
        return msgTask;
    }

    public void setMsgTask(HH_T_MsgTask msgTask) {
        this.msgTask = msgTask;
    }

    public String getOtaPath() {
        return otaPath;
    }

    public void setOtaPath(String otaPath) {
        this.otaPath = otaPath;
    }

    public HH_EnumTaskType getTaskType() {
        return taskType;
    }

    public void setTaskType(HH_EnumTaskType taskType) {
        this.taskType = taskType;
    }

    public HH_T_PrismControlStateTask getPrismTask() {
        return prismTask;
    }

    public void setPrismTask(HH_T_PrismControlStateTask prismTask) {
        this.prismTask = prismTask;
    }

    public int getSendDataIntervalTime() {
        return sendDataIntervalTime;
    }

    public void setSendDataIntervalTime(int sendDataIntervalTime) {
        this.sendDataIntervalTime = sendDataIntervalTime;
    }

    public int getSendFailReConnectCount() {
        return sendFailReConnectCount;
    }

    public void setSendFailReConnectCount(int sendFailReConnectCount) {
        this.sendFailReConnectCount = sendFailReConnectCount;
    }

    public String getTaskID() {
        return taskID;
    }

    public void setTaskID(String taskID) {
        this.taskID = taskID;
    }

    public String getTaskLogPath() {
        return taskLogPath;
    }

    public void setTaskLogPath(String taskLogPath) {
        this.taskLogPath = taskLogPath;
    }

    public HH_T_SYSTEMTIME getMadeTime() {
        return madeTime;
    }

    public void setMadeTime(HH_T_SYSTEMTIME madeTime) {
        this.madeTime = madeTime;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public int getTaskRunState() {
        return taskRunState;
    }

    public void setTaskRunState(int taskRunState) {
        this.taskRunState = taskRunState;
    }

    public int getPicW() {
        return picW;
    }

    public void setPicW(int picW) {
        this.picW = picW;
    }

    public int getPicH() {
        return picH;
    }

    public void setPicH(int picH) {
        this.picH = picH;
    }

    public String getMacRes() {
        return macRes;
    }

    public void setMacRes(String macRes) {
        this.macRes = macRes;
    }

    public String getPicPath_A() {
        return picPath_A;
    }

    public void setPicPath_A(String picPath_A) {
        this.picPath_A = picPath_A;
    }

    public String getPicPath_B() {
        return picPath_B;
    }

    public void setPicPath_B(String picPath_B) {
        this.picPath_B = picPath_B;
    }

}
